package com.jh.exception;

public class MyException extends RuntimeException {
	private static final long serialVersionUID = 12234141L;

	private String type;
	public MyException() {
		super();
	}
	public MyException(String message, String type) {
		super(message);
		this.type=type;
	}
	public MyException(String message, Throwable cause) {
		super(message, cause);
	}

	public MyException(String message) {
		super(message);
	}

	public MyException(Throwable cause) {
		super(cause);
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
